'use strict';
module.exports = (app) => {
  const { STRING, INTEGER, TEXT } = app.Sequelize;
  const Classify = app.model.define('b_classify', {
    id: {
      type: INTEGER,
      primaryKey: true,
      autoIncrement: true,
    },
    classifyName: {
      comment: '分类名',
      type: TEXT('long'),
      allowNull: false,
    },
    projectId: {
      comment: '项目id',
      type: INTEGER,
    },
  });

  return Classify;
};
